# @Time    : 2024/12/31 09:16
# @Author  : Zhang Yihao
class A:
    def __init__(self):
        self.__age=18

    def base_age(self):
        print(self.__age)

class B(A):
    def __init__(self):
        super().__init__()

    def get_age(self):
        print(self.__age)

if __name__ == '__main__':
    b=B()
    # b.get_age()
    b.base_age()